package com.code2roc.obscure.demo;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

public class LamdaClass {
    public void Test(){
        List<ModelClass> modelClassList = new ArrayList<ModelClass>();
        ModelClass modelClass = new ModelClass("aa","bb","cc","dd");
        modelClassList.add(modelClass);
        modelClassList = modelClassList.stream().filter(a->a.getCardNo().equals("aa")).collect(Collectors.toList());
    }
}
